package com.zhuoyue.system.service.impl;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;

import com.zhuoyue.system.domain.TblLocalSceneZigbeeDeviceRelation;
import com.zhuoyue.system.mapper.TblLocalSceneZigbeeDeviceRelationMapper;
import com.zhuoyue.system.service.TblLocalSceneZigbeeDeviceRelationService;

import java.util.List;

@Service
public class TblLocalSceneZigbeeDeviceRelationServiceImpl implements TblLocalSceneZigbeeDeviceRelationService {

    @Resource
    private TblLocalSceneZigbeeDeviceRelationMapper tblLocalSceneZigbeeDeviceRelationMapper;

    @Override
    public int deleteByPrimaryKey(String id) {
        return tblLocalSceneZigbeeDeviceRelationMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TblLocalSceneZigbeeDeviceRelation record) {
        return tblLocalSceneZigbeeDeviceRelationMapper.insert(record);
    }

    @Override
    public int insertSelective(TblLocalSceneZigbeeDeviceRelation record) {
        return tblLocalSceneZigbeeDeviceRelationMapper.insertSelective(record);
    }

    @Override
    public List<TblLocalSceneZigbeeDeviceRelation> selectByPrimaryKey(String id) {
        return tblLocalSceneZigbeeDeviceRelationMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(TblLocalSceneZigbeeDeviceRelation record) {
        return tblLocalSceneZigbeeDeviceRelationMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(TblLocalSceneZigbeeDeviceRelation record) {
        return tblLocalSceneZigbeeDeviceRelationMapper.updateByPrimaryKey(record);
    }

}
